﻿<Window x:Class="TestSocket.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:pageTransitions="clr-namespace:WpfPageTransitions;assembly=WpfPageTransitions"                
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="C# Async Socket Test"  Width="800" Height="600"        
        Background="Black"
        Closed="Window_Closed">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="2*"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>            
        </Grid.RowDefinitions>
        <pageTransitions:PageTransition Name="pageTransitionControl" />
        <Grid Grid.Row="0" Name="panelHolder"/>
        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"></ColumnDefinition>
                <ColumnDefinition Width="100"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <ListBox  Margin="10" Grid.Column="0"  Name="lbMsg" FontSize="16"/>
            <Button Margin="10" Grid.Column="1" FontSize="45" Click="OnClear_Click">Clear
                <Button.LayoutTransform>
                    <RotateTransform Angle="-90" />
                </Button.LayoutTransform>
            </Button>
        </Grid>        
        </Grid>    
</Window>
